package com.qf.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 前台用户
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(value = "u_id", type = IdType.AUTO)
    private Integer id;
    @TableField("u_name")
    private String name;
    @TableField("u_email")
    private String email;
    @TableField("u_sex")
    private String sex;
    @TableField("u_status")
    private Integer status; //激活状态
    @TableField("u_phone")
    private String phone;
    @TableField("u_register_date")
    private Date registerDate;
}
